# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2023年02月23日
"""

import docx
from docx.shared import Cm,Pt
from docx.enum.text import WD_PARAGRAPH_ALIGNMENT


myDocument=docx.Document('新员工.docx')
myTable=myDocument.tables[0]
myColumn=myTable.add_column(docx.shared.Inches(1.2))
myItems=['最高学历','博士','硕士','硕士']
i=0
for myCell in myColumn.cells:
	myCell.text=myItems[i]
	i+=1


myDocument.save('02散文名篇.docx')


